package com.woniu.defecttracking.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author tiangle
 * @since 2021-12-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("menus")
@ApiModel(value="Menus对象", description="")
public class Menus implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "菜单id")
      @TableId(value = "menus_id", type = IdType.AUTO)
    private Integer menusId;

    @ApiModelProperty(value = "菜单名")
    private String menusName;

    @ApiModelProperty(value = "菜单图标")
    private String menusIcon;

    @ApiModelProperty(value = "菜单路由")
    private String menusRouter;

    @ApiModelProperty(value = "父菜单id")
    private Integer menusParentid;

    @ApiModelProperty(value = "菜单类型（根0子1）")
    private Integer menusType;


}
